package com.miniot.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
* 无
*
* @author fpf
* @date 2023-10-16 17:36:39
*/
@Data
//@Builder
@TableName("bound_detail")
@ApiModel(description = "无")
@NoArgsConstructor
@AllArgsConstructor
public class BoundDetail extends BaseEntity<Long> {
    private static final long serialVersionUID = 1L;
    /** 投入品名称 */
    @ApiModelProperty(value = "投入品名称")
    private String devotionName;
    /** 投入品id */
    @ApiModelProperty(value = "投入品id")
    private Long devotionId;
    /** 出入库表id */
    @ApiModelProperty(value = "出入库表id")
    private Long manageId;
    /** 出入库数量 */
    @ApiModelProperty(value = "出入库数量")
    private Integer boundNumber;
    /** 出入库单价 */
    @ApiModelProperty(value = "出入库单价")
    private BigDecimal boundPrice;
    /** 小计 */
    @ApiModelProperty(value = "小计")
    private BigDecimal subtotal;
    /** 出入库类型 1出库 2入库 */
    @ApiModelProperty(value = "出入库类型 1出库 2入库")
    private Integer boundType;

    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ApiModelProperty(value = "品牌id")
    private Long brandId;

    @ApiModelProperty(value = "规格")
    private String specification;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "仓库id")
    private Long warehouseId;

    @ApiModelProperty(value = "一级分类id")
    private Long typeId;

    @ApiModelProperty(value = "一级分类名称")
    private String typeName;

}
